package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("ydd_article")
public class Article implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    private String author;

    private String keywords;

    private String description;

    private  String content;

    private String pic;

    private Integer click;

    private Integer ishot;

    private Integer istop;

    private long create_date;

    private long update_date;

    private Integer cateid;

    private String tags;

    private Integer status;

    private String lovenum;

    private Integer user_id;

    private String default_data;


}
